package com.unei.guava.demo.fp;

import com.google.common.base.Predicate;

/**
 * Created by sunlei on 2015/1/21.
 */
public class SouthwestOrMidwestRegionPredicate implements Predicate<State> {
    @Override
    public boolean apply(State input) {
        return input.getRegion().equals("MIDEWEST")||input.getRegion().equals("SOUTHWEST");
    }
}
